Tegra2: mmc: Factor out mmc_wait_inhibit functionality
authorAnton staaf <[email protected]>
Thu, 10 Nov 2011 11:56:52 +0000 (11:56 +0000)
committerAndy Fleming <[email protected]>
Sat, 12 Nov 2011 21:39:29 +0000 (15:39 -0600)
commit0963ff3a97ff63e85465008895a68eb2e1cdf112
tree16f67a7b885969a69e371acbbcaf8aa251136730
parent9b3d1873c8c829debe8e8ab487783577285530d3
Tegra2: mmc: Factor out mmc_wait_inhibit functionality

This is a well encapsulated section of mmc_send_cmd, by moving
it to it's own function it increases the readability of mmc_send_cmd.

Signed-off-by: Anton Staaf <[email protected]>
Cc: Andy Fleming <[email protected]>
Cc: Tom Warren <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Albert Aribaud <[email protected]>
drivers/mmc/tegra2_mmc.c